package Java_2_2;


public class Java_2_2_2 {
    public static void main(String[] args){
        int a=1;
        int sum=0;
        while (a<=100){
            sum=sum+a;
            System.out.println(sum);
            ++a;
        }
    }
}
